Optimal. Leaf size=120 \[ \frac {\tan ^{-1}\left (\frac {2-\sqrt {2} \sqrt {2-3 x^2}}{\sqrt [4]{2} \sqrt {3} x \sqrt [4]{2-3 x^2}}\right )}{3 \sqrt [4]{2} \sqrt {3}}-\frac {\tanh ^{-1}\left (\frac {2+\sqrt {2} \sqrt {2-3 x^2}}{\sqrt [4]{2} \sqrt {3} x \sqrt [4]{2-3 x^2}}\right )}{3 \sqrt [4]{2} \sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 120, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {452}
\begin {gather*} \frac {\text {ArcTan}\left (\frac {2-\sqrt {2} \sqrt {2-3 x^2}}{\sqrt [4]{2} \sqrt {3} x \sqrt [4]{2-3 x^2}}\right )}{3 \sqrt [4]{2} \sqrt {3}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {2-3 x^2}+2}{\sqrt [4]{2} \sqrt {3} x \sqrt [4]{2-3 x^2}}\right )}{3 \sqrt [4]{2} \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 452
Rubi steps
\begin {align*} \int \frac {x^2}{\left (2-3 x^2\right )^{3/4} \left (4-3 x^2\right )} \, dx &=\frac {\tan ^{-1}\left (\frac {2-\sqrt {2} \sqrt {2-3 x^2}}{\sqrt [4]{2} \sqrt {3} x \sqrt [4]{2-3 x^2}}\right )}{3 \sqrt [4]{2} \sqrt {3}}-\frac {\tanh ^{-1}\left (\frac {2+\sqrt {2} \sqrt {2-3 x^2}}{\sqrt [4]{2} \sqrt {3} x \sqrt [4]{2-3 x^2}}\right )}{3 \sqrt [4]{2} \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.93, size = 109, normalized size = 0.91 \begin {gather*} -\frac {\tan ^{-1}\left (\frac {-3 \sqrt {2} x^2+4 \sqrt {2-3 x^2}}{2\ 2^{3/4} \sqrt {3} x \sqrt [4]{2-3 x^2}}\right )+\tanh ^{-1}\left (\frac {2 \sqrt {3} x \sqrt [4]{4-6 x^2}}{3 x^2+2 \sqrt {4-6 x^2}}\right )}{6 \sqrt [4]{2} \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 5.44, size = 186, normalized size = 1.55
method | result | size |
trager | \(\frac {\RootOf \left (\textit {\_Z}^{4}+18\right ) \ln \left (\frac {\left (-3 x^{2}+2\right )^{\frac {3}{4}} \RootOf \left (\textit {\_Z}^{4}+18\right )^{3}+3 \RootOf \left (\textit {\_Z}^{4}+18\right )^{2} x +9 \sqrt {-3 x^{2}+2}\, x -6 \RootOf \left (\textit {\_Z}^{4}+18\right ) \left (-3 x^{2}+2\right )^{\frac {1}{4}}}{3 x^{2}-4}\right )}{18}+\frac {\RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+18\right )^{2}\right ) \ln \left (-\frac {\RootOf \left (\textit {\_Z}^{4}+18\right )^{2} \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+18\right )^{2}\right ) \left (-3 x^{2}+2\right )^{\frac {3}{4}}+3 \RootOf \left (\textit {\_Z}^{4}+18\right )^{2} x -9 \sqrt {-3 x^{2}+2}\, x +6 \left (-3 x^{2}+2\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+18\right )^{2}\right )}{3 x^{2}-4}\right )}{18}\) | \(186\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 282 vs.
\(2 (89) = 178\).
time = 1.15, size = 282, normalized size = 2.35 \begin {gather*} \frac {1}{216} \cdot 72^{\frac {3}{4}} \sqrt {2} \arctan \left (\frac {72^{\frac {1}{4}} \sqrt {6} \sqrt {2} x \sqrt {\frac {72^{\frac {3}{4}} \sqrt {2} {\left (-3 \, x^{2} + 2\right )}^{\frac {1}{4}} x + 18 \, \sqrt {2} x^{2} + 24 \, \sqrt {-3 \, x^{2} + 2}}{x^{2}}} - 12 \cdot 72^{\frac {1}{4}} \sqrt {2} {\left (-3 \, x^{2} + 2\right )}^{\frac {1}{4}} - 36 \, x}{36 \, x}\right ) + \frac {1}{216} \cdot 72^{\frac {3}{4}} \sqrt {2} \arctan \left (\frac {72^{\frac {1}{4}} \sqrt {6} \sqrt {2} x \sqrt {-\frac {72^{\frac {3}{4}} \sqrt {2} {\left (-3 \, x^{2} + 2\right )}^{\frac {1}{4}} x - 18 \, \sqrt {2} x^{2} - 24 \, \sqrt {-3 \, x^{2} + 2}}{x^{2}}} - 12 \cdot 72^{\frac {1}{4}} \sqrt {2} {\left (-3 \, x^{2} + 2\right )}^{\frac {1}{4}} + 36 \, x}{36 \, x}\right ) - \frac {1}{864} \cdot 72^{\frac {3}{4}} \sqrt {2} \log \left (\frac {96 \, {\left (72^{\frac {3}{4}} \sqrt {2} {\left (-3 \, x^{2} + 2\right )}^{\frac {1}{4}} x + 18 \, \sqrt {2} x^{2} + 24 \, \sqrt {-3 \, x^{2} + 2}\right )}}{x^{2}}\right ) + \frac {1}{864} \cdot 72^{\frac {3}{4}} \sqrt {2} \log \left (-\frac {96 \, {\left (72^{\frac {3}{4}} \sqrt {2} {\left (-3 \, x^{2} + 2\right )}^{\frac {1}{4}} x - 18 \, \sqrt {2} x^{2} - 24 \, \sqrt {-3 \, x^{2} + 2}\right )}}{x^{2}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \frac {x^{2}}{3 x^{2} \left (2 - 3 x^{2}\right )^{\frac {3}{4}} - 4 \left (2 - 3 x^{2}\right )^{\frac {3}{4}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} -\int \frac {x^2}{{\left (2-3\,x^2\right )}^{3/4}\,\left (3\,x^2-4\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________